package com.liuli.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Created by Admin on 2019/12/13.
 */
//ribbon和eureka整合后，不需要关心服务提供者的IP地址和端口号了，不根据远程服务提供者的地址去访问
// 根据服务名写死就行
@SpringBootApplication
@EnableEurekaClient
public class DeptConsumer_80 {
    public static void main(String[] args) {
        SpringApplication.run(DeptConsumer_80.class,args);
    }
}
